body,
html {
    min-width: 1400px;
}

.nav {
    width: 100%;
    /* height: 100px; */
    box-shadow: 5px 3px 10px #ccc;
    background-color: #fff;
    display: flex;

}

.logo {
    height: 100px;
    padding-left: 125px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 23px;
    margin-left: 10px;
}

.search {
    width: 660px;
    height: 100px;
    padding-right: 65px;
    display: flex;
    justify-content: center;
    align-items: center;

}

.searchInput {
    flex: 1;
    height: 46px;
    display: flex;
    align-content: center;
    border: 1px solid #ccc;
    border-radius: 23px;
}

.search-btn {
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.search-input {
    display: flex;
    flex: 1;
    align-items: center;
    border-left: 1px solid #ccc;
    padding: 0 15px;
}


.search-input input {
    border: none;
    flex: 1;
    outline: none;
    border: none;
}

.search-input:focus-within {
    box-shadow: 0 0 10px skyblue;
}

.search-btn:focus-within {
    box-shadow: 0 0 10px skyblue;

}

.search-btn .chooseItem {
    position: absolute;
    width: 100px;
    top: 60px;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    transition: all 1s;
    z-index: 5;
}

.search-btn .chooseItem div {
    height: 40px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;

}

.search-btn .chooseItem div:hover {
    background-color: aquamarine;
}

.navList {
    width: 360px;
    display: flex;
    height: 100px;
    justify-content: space-around;
    align-items: center;
    padding-right: 70px;
}

.navList .navList-item {
    font-size: 22px;
    height: 100px;
    line-height: 100px;
}

.navList-shop {
    position: relative;
}

.shopDiv {
    width: 100px;
    position: absolute;
    top: 102px;
    left: 0;
    background-color: #fff;
    border-radius: 10px;
    font-size: 16px;
    transition: all 1s;
    z-index: 5;
}

.shopDiv div {
    height: 40px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
}

.shopDiv div:hover {
    color: #1890ff;
}

.shopDiv .active {
    background-color: #e6f7ff;
}

.zhezhao {
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .1);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    transition: all 1s;
    z-index: 99;
}

.zheActive {
    display: block;

}

.loginContent {
    width: 400px;
    height: 100%;
    background: #fff;
    position: absolute;
    right: 0;
    transform: translate(500px);
    transition: all 1s;
}

.login-top {
    display: flex;
    height: 65px;
    padding: 12px 24px;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
}

.login-top img {
    width: 29px;
    height: 40px;
}

.login-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.login-text {
    text-align: center;
    margin: 50px 0;
}

.login-close {
    cursor: pointer;
    color: #ccc;
}

.login-close:hover {
    color: #1677ff;
}

.login-text>h3 {
    font-size: 40px;
    font-weight: 400;
    margin: 10px 0;
}

.login-text>span {
    color: #1B9AEE;
    font-size: 12px;
}

.login-input {
    display: flex;
    flex-direction: column;
    width: 333px;
}

.login-input input {
    border: none;
    height: 56px;
    outline: none;
    border-bottom: 1px solid #ccc;
    margin-bottom: 30px;
    width: 333px;
}

.login-input button {
    width: 333px;
    height: 48px;
    background: #1890ff;
    border: none;
    border-radius: 5px;
    color: #fff;
}

.login-input button:hover {
    background: #40a9ff
}

.login-input a {
    color: #1b9aee;
    text-decoration: none;
    display: block;
    text-align: center;
    margin-top: 30px;
}

/* 轮播图 */
.swiper-container {
    width: 100%;
    height: 800px;
    position: relative;
}

.square {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99;
    color: #fff;
}

.square .square-text:nth-child(1) {
    font-size: 60px;
    letter-spacing: 5px;
}

.square .square-text:nth-child(2) {
    font-size: 40px;
    letter-spacing: 5px;
    margin: 30px 0;
}

.square-btn {
    height: 60px;

    display: flex;
    text-align: center;
    margin-top: 30px;
    align-items: center;
}

.square-btn div {
    width: 170px;
    height: 60px;
    line-height: 60px;
    box-shadow: 0 0 10px #000;
    border-radius: 25px;
    margin-right: 30px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0), rgba(5, 217, 245, .34));
    cursor: pointer;
}

.square-btn div:hover {
    background: linear-gradient(45deg, #4facfe, rgba(5, 217, 245, .84));

}


/* 优势 */
.advantage {
    width: 1270px;
    margin: 30px auto;
    text-align: center;
}

.adv-biaoti {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 30px;
}

.adv-content {
    text-align: left;
    width: 100%;
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
}

.advantageItem {
    width: 260px;
}

.advantageItem p {
    font-size: 14px;
}

.advantageItem span {
    font-size: 12px;
    color: #666;
}

/* 推荐艺术家 */
.longhair {
    width: 1270px;
    margin: 100px auto;
}

.title {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 30px;
}

.longhair-content {
    display: flex;
    justify-content: space-between;
}

.longair-item {
    width: 400px;
    height: 580px;
    text-align: center;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #ccc;
    transition: all .5s;
}

.longair-item img {
    width: 400px;
    height: 400px;
}

.longair-item:hover {
    transform: translateY(-10px);
    box-shadow: -5px 5px 10px rgb(93 101 110 / 39%);
}

/* 教程 */
.w {
    width: 1270px;
    margin: 100px auto;
}

.course-content {
    width: 100%;
    height: 386px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-item {
    width: 400px;
    height: 386px;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    transition: all .5s;
}

.course-item img {
    width: 100%;

}

.course-item:hover {
    transform: translateY(-10px);
    box-shadow: -5px 5px 10px #ccc;
}

.course-item-text {
    padding: 17px 32px 8px 32px;
    box-sizing: border-box;

}

.course-item-text h3 {
    margin: 0;
    font-weight: 600;
    font-size: 18px;
}

.course-item-text p {
    font-size: 14px;
    margin-top: 2px;
    color: #666;
}

/* 分类标签 */
.classify-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.classify-item {
    width: 400px;
    height: 203px;
    border-radius: 5px;
    border: 1px solid #ccc;
    transition: all .5s;
    margin-bottom: 20px;
}

.classify-item:hover {
    box-shadow: -5px 5px 10px #ccc;
    transform: translateY(-10px);
    cursor: pointer;
}

.classify-item-top {
    padding: 10px 20px;
    border-bottom: 1px solid #ccc;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.classify-item-top img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.classify-item-bottom {
    padding: 10px 20px;
    box-sizing: border-box;
    color: #9b9b9b;
    font-size: 14px;

}

/* 合作伙伴 */
.partner-content {
    display: flex;
    justify-content: space-between;
}